//axios封装post请求
function axiosPostRequst(method,url,data) {
      let result = axios({
          method: method,
          url: url,
          data: data,
          transformRequest:[function(data){
              let ret = '';
              for(let i in data){
                  ret += encodeURIComponent(i)+'='+encodeURIComponent(data[i])+"&";
              }
              return ret;
          }],
          header:{
              'Content-Type':'application/x-www-form-urlencoded'
          }
      }).then(resp=> {
          return resp.data;
      }).catch(error=>{
          return "exception="+error;
      });
      return result;
  }